using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using RideMe.Core;

namespace RideMe.UnitTests
{
    public static class TestHelper
    {
        public static readonly string ProjectPath = @"C:\RideMeTest\TestProject";
        private static ProjectProcess _project = new ProjectProcess();

        public static void CreateProjectIfDoesntExist()
        {
            if (!Directory.Exists(TestHelper.ProjectPath))
            {
                _project.CreateProject(TestHelper.ProjectPath);
                Wait();
            }
        }

        public static void Wait()
        {
            System.Threading.Thread.Sleep(10000);
        }

    }
}
